package com.ygqh.baby.mapper;

import com.ygqh.baby.po.YgWholesalerRechargeRecord;
import com.ygqh.baby.po.YgWholesalerRechargeRecordExample;
import com.ygqh.baby.ao.QueryInfo;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * @author Ss
 */
public interface YgWholesalerRechargeRecordMapper {
	int countByExample(YgWholesalerRechargeRecordExample example);

	int deleteByExample(YgWholesalerRechargeRecordExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgWholesalerRechargeRecord record);

	int insertSelective(YgWholesalerRechargeRecord record);

	List<YgWholesalerRechargeRecord> selectByExample(YgWholesalerRechargeRecordExample example);

	YgWholesalerRechargeRecord selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgWholesalerRechargeRecord record, @Param("example") YgWholesalerRechargeRecordExample example);

	int updateByExample(@Param("record") YgWholesalerRechargeRecord record, @Param("example") YgWholesalerRechargeRecordExample example);

	int updateByPrimaryKeySelective(YgWholesalerRechargeRecord record);

	int updateByPrimaryKey(YgWholesalerRechargeRecord record);

	int countSuper(@Param("wholesalerId") Long wholesalerId);

	List<YgWholesalerRechargeRecord> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("wholesalerId") Long wholesalerId);

}



